#include "GEngine.h"
#include "SDL_image.h"

CGEngine::CGEngine(void)
{
	m_scene=NULL;
}

CGEngine::~CGEngine(void)
{
}

void CGEngine::SetScene( CGScene* scene )
{
	m_scene=scene;
}

void CGEngine::OnKeyDown( SDL_KeyboardEvent kevent )
{

}

void CGEngine::OnKeyUp( SDL_KeyboardEvent kevent )
{

}

void CGEngine::OnLMBDown( SDL_MouseButtonEvent mevent )
{

}

void CGEngine::OnLMBUp( SDL_MouseButtonEvent mevent )
{

}

void CGEngine::OnTick( int elapsed )
{

}

void CGEngine::OnIdle()
{

}

void CGEngine::Init()
{
	IMG_Init(IMG_INIT_JPG);
}

void CGEngine::Deinit()
{
	IMG_Quit();
}